package cn.csc.module.shop.controller.admin.hotsearch.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

/**
* 热搜 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ShopHotSearchBaseVO {

    @ApiModelProperty(value = "店铺ID 0为全平台热搜")
    private BigInteger shopId;

    @ApiModelProperty(value = "内容", required = true)
    @NotNull(message = "内容不能为空")
    private String content;

    @ApiModelProperty(value = "顺序")
    private Integer seq;

    @ApiModelProperty(value = "状态 0下线 1上线", required = true)
    @NotNull(message = "状态 0下线 1上线不能为空")
    private Byte status;

    @ApiModelProperty(value = "热搜标题", required = true)
    @NotNull(message = "热搜标题不能为空")
    private String title;

}
